﻿using System;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace BluePortal.QuikStart
{
    public partial class UploadVideo : System.Web.UI.Page
    {
        public Guid vid;

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                vid = Guid.NewGuid();
                VideoEdit1.vid = vid;
                VideoEdit1.viewMode = FormViewMode.Insert;
                AddTagVideo1.VideoId = vid;
                AddCategory1.VideoId = vid;
            }
            else
            {
                AddTagVideo1.Visible = true;
                AddCategory1.Visible = true;
            }
        }

        protected void InsertButton_Click(object sender, EventArgs e)
        {                       
        }
    }
}
